home *** CD-ROM | disk | FTP | other *** search
-
-
-
- LLLLDDDDSSSSHHHHRRRREEEEAAAADDDD((((3333XXXX)))) LLLLDDDDSSSSHHHHRRRREEEEAAAADDDD((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- ldshread, ldnshread - read an indexed/named section header of a common
- object file
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssttttddddiiiioooo....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ffffiiiilllleeeehhhhddddrrrr....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssccccnnnnhhhhddddrrrr....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyymmmmssss....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<llllddddffffccccnnnn....hhhh>>>>
-
- iiiinnnntttt llllddddsssshhhhrrrreeeeaaaadddd ((((ldptr, sectindx, secthead))))
- LLLLDDDDFFFFIIIILLLLEEEE ****ldptr;;;;
- uuuunnnnssssiiiiggggnnnneeeedddd sssshhhhoooorrrrtttt sectindx;;;;
- SSSSCCCCNNNNHHHHDDDDRRRR ****secthead;;;;
-
- iiiinnnntttt llllddddnnnnsssshhhhrrrreeeeaaaadddd ((((ldptr, sectname, secthead))))
- LLLLDDDDFFFFIIIILLLLEEEE ****ldptr;;;;
- cccchhhhaaaarrrr *sectname;;;;
- SSSSCCCCNNNNHHHHDDDDRRRR ****secthead;;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _l_d_s_h_r_e_a_d reads the section header specified by _s_e_c_t_i_n_d_x of the common
- object file currently associated with _l_d_p_t_r into the area of memory
- beginning at _s_e_c_t_h_e_a_d.
-
- _l_d_n_s_h_r_e_a_d reads the section header specified by _s_e_c_t_n_a_m_e into the area of
- memory beginning at _s_e_c_t_h_e_a_d.
-
- _l_d_s_h_r_e_a_d and _l_d_n_s_h_r_e_a_d return SSSSUUUUCCCCCCCCEEEESSSSSSSS or FFFFAAAAIIIILLLLUUUURRRREEEE. If _s_e_c_t_i_n_d_x is greater
- than the number of sections in the object file, _l_d_s_h_r_e_a_d fails; If there
- is no section name corresponding with _s_e_c_t_n_a_m_e, _l_d_n_s_h_r_e_a_d fails. If it
- cannot read the specified section header, either function fails.
-
- NNNNOOOOTTTTEEEE: The first section header has an index of _o_n_e.
-
- The program must be loaded with the object file access routine library
- lllliiiibbbbmmmmlllldddd....aaaa.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- ldclose(3X), ldopen(3X), ldfcn(4).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-